package edu.zqu.collegeField.project.service;


import com.baomidou.mybatisplus.extension.service.IService;
import edu.zqu.collegeField.project.po.FieldApplication;
import edu.zqu.collegeField.project.vo.FieldApplicationVo;

import java.math.BigInteger;
import java.util.List;

/**
 * <p>
 * 场地申请信息 服务类
 * </p>
 *
 * @author 廖森
 * @since 2020-06-28
 */
public interface FieldApplicationService extends IService<FieldApplication> {
    List<FieldApplicationVo> get(BigInteger collegeId, BigInteger applicantId, BigInteger fieldId);//获取场地申请列表

    FieldApplicationVo getById(BigInteger id);//获取场地申请

    int add(FieldApplication fieldApplication);//添加场地申请

    int update(FieldApplication fieldApplicationUpdate);//修改场地申请

    int delete(BigInteger id, BigInteger byWho);//删除场地申请列表
}
